<?php
$strTableName="companies";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="companies";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,  code,  company_name,  category,  address,  city_id,  state_id,  country_id,  phone1,  phone2,  fax1,  fax2,  email,  website,  display_name,  '' AS gmap,  pin_code";
$gsqlFrom="FROM companies";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/companies_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_companies;
$eventObj = &$tableEvents["companies"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>